<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title></title>
		<link rel="stylesheet" href="../../../base/plugins/layui/css/layui.css" media="all" />
	</head>
	<body>
  <fieldset>
    <legend><h3>新增角色信息</h3></legend>
   	
		<form class="layui-form" action="">
  <div class="layui-form-item">
    <label class="layui-form-label">*角色名称</label>
    <div class="layui-input-block">
      <input type="text" name="title" required  lay-verify="required|phone" placeholder="请输入角色名称" autocomplete="off" class="layui-input">
    </div>
  </div>
  <div class="layui-form-item">
    <label class="layui-form-label">角色描述</label>
    <div class="layui-input-inline">
      <input type="text" name="text" required lay-verify="required|email" placeholder="请输入角色描述信息" autocomplete="off" class="layui-input">
    </div>
   
  </div>
  
  <div class="layui-form-item">
    
    <div class="layui-input-block">
      <input type="checkbox" name="like[write]" title="角色管理">
      <input type="checkbox" name="like[read]" title="查询" checked>
      <input type="checkbox" name="like[dai]" title="新增">
      <input type="checkbox" name="like[dai]" title="修改">
      <input type="checkbox" name="like[dai]" title="删除">
      <br>
      <input type="checkbox" name="like[dai]" title="批量删除">
      <input type="checkbox" name="like[dai]" title="导入">
      <input type="checkbox" name="like[dai]" title="导出">
      <input type="checkbox" name="like[dai]" title="操作日志">
      <input type="checkbox" name="like[dai]" title="登录日志">
      <br>
      <input type="checkbox" name="like[dai]" title="批量删除">
      <input type="checkbox" name="like[dai]" title="导入">
      <input type="checkbox" name="like[dai]" title="导出">
      <input type="checkbox" name="like[dai]" title="操作日志">
      <input type="checkbox" name="like[dai]" title="登录日志"><br /><br />
      <button class="layui-btn">提交</button>
      <button class="layui-btn layui-btn-primary">重置</button>
      <button class="layui-btn layui-btn-danger">关闭</button>
     </div>
     
  </div>
		
		<script src="../../../base/js/jquery-1.11.3.min.js"></script>
		<script src="../../../base/plugins/layui/layui.js"></script>
		
		<script type="text/javascript">
		layui.use('form',function(){
		var form=layui.form;
		 form.render();
		 
		 $(".addUser").click(function() {
			layer.open({
			type: 2,
			title: 'layer mobile页',
			shadeClose: true,
			shade: 0.8,
			area: ['880px', '90%'],
			content:'insertuser.html' //iframe的url
		});
			});
		});	
	</script>
	</body>
</html>
